/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ie.tcd.cs.railtickets.commons.dto;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author Wenbo Sun
 */

public class TicketDTO implements Serializable {

    private String ticketNo;
    private Date bookTime;

    public TicketDTO() {
    }

    public TicketDTO(String ticketNo, Date bookTime) {
        this.ticketNo = ticketNo;
        this.bookTime = bookTime;
    }

    public Date getBookTime() {
        return bookTime;
    }

    public void setBookTime(Date bookTime) {
        this.bookTime = bookTime;
    }

    public String getTicketNo() {
        return ticketNo;
    }

    public void setTicketNo(String ticketNo) {
        this.ticketNo = ticketNo;
    }

}
